<template>
  <div @click="$emit('click', 'hello')">Hello, {{ name }} at {{ number }}!</div>
</template>

<script>
export default {
  name: 'Greeting',
  props: {
    name: {
      type: String,
      default: 'world',
    },
    number: Number,
  },
};
</script>
